Re: pg_pconnect - ??
| От | Chris Ruprecht |
|---|---|
| Тема | Re: pg_pconnect - ?? |
| Дата | |
| Msg-id | p05101218b87b6220cfa3@[192.168.0.6] обсуждение исходный текст |
| Ответ на | Re: pg_pconnect - ?? ("Mitch Vincent" <mitch@doot.org>) |
| Ответы |
Re: pg_pconnect - ??
Re: pg_pconnect - ?? |
| Список | pgsql-php |
Ok, so from what I see on here, pg_pconnect doesn't have any advantages over pg_connect in my situation. I have the web server running on the same machine as the database server and yes, I have allocated 16384 shared buffers (at 8 KB each, this is 128 MB of shared memory). I have not noticed any connect overhead when opening a web page which connects to the database (99% of them do), the connection is instantaneously, so I guess, I don't need to do anything here. I was under the impression, that a persistent connection would open one and only one process which then will be used all the time without creating more child processes which keep lingering about. I guess, I was wrong here ... Best regards, Chris -- Chris Ruprecht Network grunt and bit pusher extraordinaíre _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
В списке pgsql-php по дате отправления: